Highlight particular text

Can any one help me to how to apply color to particular text of an object in a module?


DXLAdimn - Tue Mar 21 08:00:39 EDT 2017

Re: Highlight particular text
Mathias Mamsch - Tue Mar 21 10:14:30 EDT 2017

This has been discussed on the forum already. Did you already do a search? Regards, Mathias

Re: Highlight particular text
DXLAdimn - Wed Mar 22 05:33:48 EDT 2017

Mathias Mamsch - Tue Mar 21 10:14:30 EDT 2017

This has been discussed on the forum already. Did you already do a search? Regards, Mathias

Yes, It has already been discussed but not about highlight a particular text with a color that is to apply color for the entire text of an object. Is if possible to highlight particular text of an object with color? Could you please explain how we can achieve this.

Re: Highlight particular text
Mathias Mamsch - Wed Mar 22 08:24:19 EDT 2017

DXLAdimn - Wed Mar 22 05:33:48 EDT 2017

Yes, It has already been discussed but not about highlight a particular text with a color that is to apply color for the entire text of an object. Is if possible to highlight particular text of an object with color? Could you please explain how we can achieve this.

Well first of all, you need to modify the richtext of the object. That means, you need to parse it, find the relevant passages and apply a suitable formatting tag to them. Then it depends if you want to store the coloring (modify object text attribute) or simply display the coloring (layout dxl / attribute dxl). So which step are you facing problems with: 

a) parsing the richtext to find the text

b) finding and applying a suitable rtf formatting code

c) making a DXL layout / script

d) all of the above? :-) 

Regards, Mathias